function LinktoSejourDirective (StringManager) {
	return {
    restrict: "AE",
    scope: {
        attr: "@attr"
    },
    link: function(scope, elem, attrs) {
      
      var urlReEncoded = StringManager.TraitementUrl ( attrs.linktosejour );

      attrs.$set(scope.attr, urlReEncoded);
    }
  };
};